<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>

<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<table>
<h1>总记录数：${pageInfo.total }</h1>
<h1>当前页码：${pageInfo.pageNum }</h1>
<h1>每页记录数：${pageInfo.pageSize }</h1>
<h1>总页数：${pageInfo.pages }</h1>
<h1>是否最后一页：${pageInfo.isLastPage }</h1>

    <c:forEach items="${pageInfo.list}" var="ct">
        <tr>
            <td>${ct.categoryId }</td>
            <td>${ct.cname }</td>
            <td>${ct.parentId }</td>
        </tr>
    </c:forEach>
</table>
<fmt:formatDate value="${itemInfo.releaseTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
</body>
</html>